package com.yqg.protection.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * equipment 实体类
 * @author zxf
 * @since 2024-01-01
 */
@Getter
@Setter
  @ApiModel(value = "Equipment对象", description = "")
public class Equipment implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
      private Long id;

    private String equipmentId;

    private String simId;

    private Long entererId;

    private Long organization;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime enterDate;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime startDate;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime overDate;

    private Double price;

    private Integer batch;

    private String state;

    private String photo;

    private String installerId;

    private String norms;

    private String shape;

    private String explanation;

      @ApiModelProperty("0,正常 1，删除")
      private Integer isDelete;

    private String tele;


}
